package com.library.mapper;

import com.library.bean.User;
import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(int userId);

    int insert(User row);

    User selectByPrimaryKey(int userId);

    List<User> selectAll();

    int updateByPrimaryKey(User row);

    User selectUserByUserNameAndPassword(User user);

    User selectUserByUserName(String username);
}